package com.gem.service;


import com.gem.domain.ClassInfo;
import com.gem.domain.ClassInfoAPI;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface ClassInfoService {

    //分页显示班级信息
    PageInfo<ClassInfo> findAll(int currentPage, int pageSize);

    PageInfo<ClassInfo> searchClassInfo(ClassInfo ClassInfo, int currentPage, int pageSize);

    boolean deleteById(Integer classId);

    boolean save(ClassInfoAPI ClassInfo);

    boolean update(ClassInfoAPI ClassInfo);

    ClassInfo findById(int i);

    List<ClassInfo> findAllClass();
}
